package com.dao;

import com.pojo.Brand;
import com.pojo.PageBean;

import java.util.List;

public interface BrandDao {
    List<Brand> findAll(int start, int limit);

    int addBrand(Brand brand);

    int updateBrand(Brand brand);

    int deleteBrand(String id);

    Brand findByID(String id);

    int  findCOunt();

    Brand findByName(String name);

    List<Brand> findByBrandType(String brandType);
}
